package com.ygqh.baby.service.wechat.model;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import com.foxinmy.weixin4j.payment.mch.ApiResult;
@XmlRootElement
@XmlAccessorType(XmlAccessType.FIELD)
public class DeclareCustomsResult extends ApiResult{

	private static final long serialVersionUID = -4623842173781603643L;
	
	@XmlElement(name = "sign")
	private String sign;
	
	@XmlElement(name = "sign_type")
	private String signType;
	

	@XmlElement(name = "state")
	private String state;
	
	@XmlElement(name = "transaction_id")
	private String transactionId;
	
	@XmlElement(name = "out_trade_no")
	private String outTradeNo;
	
	@XmlElement(name = "sub_order_no")
	private String subOrderNo;
	
	@XmlElement(name = "sub_order_id")
	private String subOrderId;
	
	@XmlElement(name = "modify_time")
	private String modifyTime;
	
	@XmlElement(name = "cert_check_result")
	private String certCheckResult;

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getTransactionId() {
		return transactionId;
	}

	public void setTransactionId(String transactionId) {
		this.transactionId = transactionId;
	}

	public String getOutTradeNo() {
		return outTradeNo;
	}

	public void setOutTradeNo(String outTradeNo) {
		this.outTradeNo = outTradeNo;
	}

	public String getSubOrderNo() {
		return subOrderNo;
	}

	public void setSubOrderNo(String subOrderNo) {
		this.subOrderNo = subOrderNo;
	}

	public String getSubOrderId() {
		return subOrderId;
	}

	public void setSubOrderId(String subOrderId) {
		this.subOrderId = subOrderId;
	}

	public String getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(String modifyTime) {
		this.modifyTime = modifyTime;
	}

	public String getCertCheckResult() {
		return certCheckResult;
	}

	public void setCertCheckResult(String certCheckResult) {
		this.certCheckResult = certCheckResult;
	}

	@Override
	public String toString() {
		return "DeclareCustomsResult [state=" + state + ", transactionId=" + transactionId + ", outTradeNo=" + outTradeNo + ", subOrderNo=" + subOrderNo
				+ ", subOrderId=" + subOrderId + ", modifyTime=" + modifyTime + ", certCheckResult=" + certCheckResult + "]";
	}
	
	
}
